package cn.winwintech.Incense.dao;

import com.base.webapp.respm.ResException;

import cn.winwintech.Incense.model.Tree;
import cn.winwintech.Incense.model.TreeType;

public interface TreeDao extends GenericDao {


	public Tree findTreeById(String id);

	public Tree findTreeByTokenNotNull(String token) throws ResException;

    public TreeType findTreeType(int id);

	public Tree saveTree(String treeId, int treeType, Double latitude, Double longitude);





}
